.class Llt/noframe/gpsfarmguide/views/FragmentMap$3$1;
.super Ljava/lang/Object;
.source "FragmentMap.java"

# interfaces
.implements Lcom/google/android/gms/maps/GoogleMap$OnCameraIdleListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/views/FragmentMap$3;->onMapReady(Lcom/google/android/gms/maps/GoogleMap;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Llt/noframe/gpsfarmguide/views/FragmentMap$3;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/views/FragmentMap$3;)V
    .locals 0

    .line 370
    iput-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentMap$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentMap$3;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCameraIdle()V
    .locals 2

    const-string v0, "FragmentMap"

    const-string v1, "onCameraChange: "

    .line 374
    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 375
    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/FragmentMap$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentMap$3;

    iget-object v0, v0, Llt/noframe/gpsfarmguide/views/FragmentMap$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentMap;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/FragmentMap;->access$000(Llt/noframe/gpsfarmguide/views/FragmentMap;)Llt/noframe/gpsfarmguide/Data;

    move-result-object v0

    invoke-virtual {v0}, Llt/noframe/gpsfarmguide/Data;->loadMeasures()V

    .line 376
    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/FragmentMap$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentMap$3;

    iget-object v0, v0, Llt/noframe/gpsfarmguide/views/FragmentMap$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentMap;

    invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 377
    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/FragmentMap$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentMap$3;

    iget-object v0, v0, Llt/noframe/gpsfarmguide/views/FragmentMap$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentMap;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/FragmentMap;->access$400(Llt/noframe/gpsfarmguide/views/FragmentMap;)V

    goto :goto_0

    .line 378
    :cond_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/FragmentMap$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentMap$3;

    iget-object v0, v0, Llt/noframe/gpsfarmguide/views/FragmentMap$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentMap;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/FragmentMap;->access$000(Llt/noframe/gpsfarmguide/views/FragmentMap;)Llt/noframe/gpsfarmguide/Data;

    move-result-object v0

    invoke-virtual {v0}, Llt/noframe/gpsfarmguide/Data;->getAreas()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gtz v0, :cond_1

    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/FragmentMap$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentMap$3;

    iget-object v0, v0, Llt/noframe/gpsfarmguide/views/FragmentMap$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentMap;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/FragmentMap;->access$000(Llt/noframe/gpsfarmguide/views/FragmentMap;)Llt/noframe/gpsfarmguide/Data;

    move-result-object v0

    invoke-virtual {v0}, Llt/noframe/gpsfarmguide/Data;->getDistances()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    :cond_1
    const/4 v0, 0x1

    .line 379
    invoke-static {v0}, Llt/noframe/gpsfarmguide/utils/Camera;->zoomToMeasures(I)V

    .line 380
    :cond_2
    :goto_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/FragmentMap$3$1;->this$1:Llt/noframe/gpsfarmguide/views/FragmentMap$3;

    iget-object v0, v0, Llt/noframe/gpsfarmguide/views/FragmentMap$3;->this$0:Llt/noframe/gpsfarmguide/views/FragmentMap;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/FragmentMap;->access$200(Llt/noframe/gpsfarmguide/views/FragmentMap;)Llt/noframe/gpsfarmguide/map/CustomGoogleMap;

    move-result-object v0

    invoke-virtual {v0, p0}, Llt/noframe/gpsfarmguide/map/CustomGoogleMap;->removeOnCameraChangeListener(Lcom/google/android/gms/maps/GoogleMap$OnCameraIdleListener;)V

    return-void
.end method
